package com.qd.panda.mapper.commodity;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qd.panda.model.CommodityDesc;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品描述
 *
 * @author sjk
 */
public interface CommodityDescMapper extends BaseMapper<CommodityDesc> {
    int deleteAll(@Param("ids") List<String> ids);

    List<String> getAll();

    List<CommodityDesc> getAllList(@Param("ids") List<String> ids);

    /**
     * 批量更新
     *
     * @param mList 需要更新的数据
     * @return 成功条数
     */
    int batchUpdate(@Param("mList") List<CommodityDesc> mList);
}